package org.snowin.entities;


import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class CaseEntity
        extends BaseEntity {
    private StringProperty caseName;
    private StringProperty caseModule;
    private StringProperty caseType;

    public void setCaseName(String value) {
        caseNameProperty().set(value);
    }

    public String getFirstName() {
        return (String) caseNameProperty().get();
    }

    public StringProperty caseNameProperty() {
        if (this.caseName == null) {
            this.caseName = new SimpleStringProperty(this, "caseName");
        }
        return this.caseName;
    }

    public void setCaseModule(String value) {
        caseModuleProperty().set(value);
    }

    public String getCaseModule() {
        return (String) caseModuleProperty().get();
    }

    public StringProperty caseModuleProperty() {
        if (this.caseModule == null) {
            this.caseModule = new SimpleStringProperty(this, "caseModule");
        }
        return this.caseModule;
    }

    public void setCaseType(String value) {
        caseTypeProperty().set(value);
    }

    public String getCaseType() {
        return (String) caseTypeProperty().get();
    }

    public StringProperty caseTypeProperty() {
        if (this.caseType == null) {
            this.caseType = new SimpleStringProperty(this, "caseType");
        }
        return this.caseType;
    }
}
